package com.it.domain;

public class Student extends Peoper{
    double score;

    public Student(double score) {
        this.score = score;
    }

    public Student(String name, int age, double score) {
        super(name, age);
        this.score = score;
    }

    public void study(){
        System.out.println("姓名"+ super.getName()+"的学生，年龄"+ super.getAge()+"，成绩"+score+"分，正在学习");
    }

}
